package com.zw.mes.module.shipments.mapper;


import com.zw.mes.entity.shipments.*;
import com.zw.mes.module.prodtaskmanager.entity.VwProject;
import com.zw.mes.module.shipments.model.LinshiProductDetail;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InstShipmentsMapper {
    /**
     * 发货清单主单查询
     * @param instShipmentsList
     * @return
     */
    List<InstShipmentsList> selectInstShipmentsList(InstShipmentsList instShipmentsList);

    /**
     * 发货清单明细单查询by sheetId
     * @param instShipmentsDetail
     * @return
     */
    List<InstShipmentsDetail> selectInstShipmentsDetail(InstShipmentsDetail instShipmentsDetail);

    /**
     * 删除明细表
     * @param id
     * @return
     */
    int delInstShipmentsDetail(Integer id);

    int selectShipmentsComitCount();
}
